package com.linksfield.topup.entity.interfaces.login.request;

import lombok.*;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;

/**
 * 登录时：
 * request：前端 RequestLogin
 * response：后端 ResponseLogin
 *
 * @author: lm
 * @date: 2019-11-21 15:40
 */

@Data
public class RequestLogin implements Serializable {

    private static final long serialVersionUID = -6511063201660409003L;

    @ApiModelProperty(value = "登录账号,原账号是12。此字段不可传空字符串", example = "admin", dataType = "String", allowEmptyValue = false)
    private String account;

    @ApiModelProperty(value = "登录密码，原密码是12。此字段不可传空字符串", example = "admin", dataType = "String", allowEmptyValue = false)
    private String password;

    @ApiModelProperty(value = "接口业务类型。此字段不可传空字符串 ", example = "login", dataType = "String", allowEmptyValue = false)
    private String tradeType;

    @ApiModelProperty(value = "中英文请求标志：cn/en。此字段不可传空字符串 ", example = "cn", dataType = "String", allowEmptyValue = false)
    private String lang;

    @ApiModelProperty(value = "定义接口的请求版本，本次接口值：1.0。此字段不可传空字符串 ", example = "1.0", dataType = "String", allowEmptyValue = false)
    private String version;

}
